<ion-view class="BatchBind-view" view-title="批次绑定">
    <ion-header-bar class="bar-subheader">
        <im-card-header card-title="单品信息"></im-card-header>
        <div class="im-flow-container">
            <im-master-item class="im-flow-item" master-name="单号" master-value="{{barcode.MOCode}}">
            </im-master-item>
            <im-master-item class="im-flow-item" master-name="型号" master-value="{{barcode.ItemMasterCode}}">
            </im-master-item>
            <im-master-item class="im-flow-item" master-name="作业" master-value="{{barcode.WorkName}}">
            </im-master-item>
            <im-master-item class="im-flow-item" master-name="料号" master-value="{{barcode.ItemMasterCode}}">
            </im-master-item>
            <im-master-item class="im-flow-item" master-name="批次" master-value="{{barcode.MOLotNumber}}">
            </im-master-item>
            <im-master-item class="im-flow-item" master-name="名称" master-value="{{barcode.WorkName}}">
            </im-master-item>
        </div>
        <im-card-header card-title="测量信息"></im-card-header>
    </ion-header-bar>
    <ion-content class="BatchBind-content" scroll="false">
        <div class="im-flow-container">
            <div class="row">
                <div class="col col-50 list">
                    <label class="item item-input">
                        <span class="input-label">镭射标</span>
                        <input type="text" ng-model="data.laserId">
                        <span class="icon ion-close-circled clear-icon" 
                        ng-if="data.laserId.length > 0" on-tap="clearInput('laserId')"></span>
                    </label>
                </div>
                <div class="col col-50 select-opt list">
                    <label class="item item-input item-select">
                        <div class="input-label">
                            尺寸
                        </div>
                        <select ng-model="moLotNumberSelected" ng-options="moLotNumber.id for moLotNumber in moLotNumbers">
                        </select>
                    </label>
                </div>
            </div>
            <div class="row">
                <div class="col col-50 list">
                    <label class="item item-input">
                        <span class="input-label">批次</span>
                        <input type="text" class="molot" ng-model="data.molot">
                        <span class="icon ion-close-circled clear-icon" 
                        ng-show="data.molot.length > 0" on-tap="clearInput('molot')"></span>
                    </label>
                </div>
            </div>
        </div>
    </ion-content>
    <ion-footer-bar>
        <im-pull-right>
            <button class="button button-accept" ng-click="submit()">确认</button>
        </im-pull-right>
    </ion-footer-bar>
</ion-view>
